home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / doc / manual / volume1 / tailor.tai < prev    next >
Encoding:
Text File  |  1991-12-12  |  13.5 KB  |  426 lines

  1. ############################################################
  2. #
  3. # Tailor file for PP
  4. #
  5. #      This version for sites with local smtp
  6. #
  7. ############################################################
  8.  
  9. ############################################################
  10. #
  11. # The following variables will need tailoring 
  12. #
  13. ############################################################
  14. #
  15. # The loc_dom_mta is the host that the MTA will reside on and execute from
  16. # It is a fully qualified domain name and represent the physical machine
  17. #    Examples might be
  18. #        cheetah.nyser.net
  19. #              violet.berkeley.edu
  20. #        john.cs.nott.ac.uk
  21. #
  22. loc_dom_mta    lancaster.xtel.co.uk
  23. #
  24. # The Sitename is what the rest of the world sees you as. This is typically
  25. # a domain shorter than the full domain name. It is the name used to represent
  26. # your site or group as a whole. This name normally hides the individual 
  27. # machine names
  28. #    Examples might be
  29. #        berkeley.edu
  30. #        nyser.net
  31. #        cs.nott.ac.uk
  32. #
  33. loc_dom_site    xtel.co.uk
  34. #
  35. # The postmaster should include the local site name
  36. # e.g. postmaster@berkeley.edu or postmaster@cs.nott.ac.uk
  37. #
  38. postmaster    postmaster@xtel.co.uk
  39. #
  40. # The pplogin should be the username of the owner of pp.
  41. #
  42. pplogin        pp
  43. #
  44. # The qmgrhost should be the same as the name found in isoentities file.
  45. # This can be the same as loc_dom_mta name
  46. #
  47. pptsapd_addr    LOCAL-ETHER=lancaster+20001
  48. qmgrhost    lancaster
  49. #
  50. # The local or name should be the name of your site in X.400 terms.
  51. # This is attribute value based, and starts with organisational units and
  52. # works up to country. If you are unsure, leave it with just a country
  53. # component, e.g. "/C=GB/"
  54. #
  55. loc_or        "/o=xtel/prmd=X-Tel Services/admd= /c=GB/"
  56. ############################################################
  57. #
  58. # That is the end of the things you must tailor - the rest are
  59. # probably ok - but you should check.
  60. #
  61. ############################################################
  62.  
  63. delim1        "\1\1\1\1\12"
  64. delim2        "\1\1\1\1\12"
  65. #returntime 36
  66. #queuestruct    100
  67. dap_user    "c=GB@o=X-Tel Services Ltd@cn=lancaster@cn=pp qmgr"
  68.  
  69.  
  70. authchannel    free
  71. authloglevel    high
  72. wrndfldir    warnings
  73. #submit_addr    lancaster:pp-submit
  74.  
  75. # Body types
  76.  
  77. headertype    822 822-jnt 822-us p2 822-uk p22 ipn g3fax ps
  78. bodypart    ia5 dmd odif g3fax ipm voice iso6937 ia5-dk ps ms
  79. bodypart    oid.0.9.2342.60200172.99.1.4
  80.  
  81.  
  82. #  **-- Mapping tables --**
  83. #
  84. # All of these table MUST have the names given here
  85. tbl    aliases        show="Aliases: mapping -> local id",
  86.             flags=dbm
  87. tbl    users        show="Users: mapping local id -> disposition",
  88.             flags=dbm
  89. tbl    x400-developers-aliases    show="Aliases: mapping -> local id",
  90.             flags=linear
  91. tbl    x400-developers-users    show="Users: mapping local id -> disposition",
  92.             flags=linear
  93. tbl    domain        show="Mapping domain key ->full domain/MTA",
  94.             flags=dbm
  95. tbl    or        show="Mapping O/R Address -> MTA",flags=dbm
  96. tbl    channel        show="Binding MTA -> Channels",flags=dbm
  97. tbl    or2rfc        show="RFC 987: X.400 -> RFC 822",flags=dbm
  98. tbl    rfc2or        show="RFC 987: RFC 822 -> X.400",flags=dbm
  99. tbl    rfc1148gate    show="Gateways that perform RFC 1148 conversions",
  100.             flags=dbm
  101. tbl    auth.channel    show="Authorisation: channel policy",flags=linear
  102. tbl    auth.mta    show="Authorisation: mta based",flags=linear
  103. tbl    auth.user    show="Authorisation: user based",flags=linear
  104. tbl    auth.qmgr    show="Authorisation: qmgr control",flags=dbm
  105. #  **-- Channel tables --**
  106. #
  107. # Needed by individual channels, not submit
  108. tbl    local        file="ch.local",
  109.             show="local id -> user id + home directory",
  110.             flags=dbm
  111.  
  112. tbl    x400in84    file="ch.x400in84",
  113.             show="MTA -> connect info",flags=linear
  114. tbl    x400out84    file="ch.x400out84",
  115.             show="X.400(84) connect info -> MTA + other info",
  116.             flags=linear
  117. tbl    x400in88    file="ch.x400in88",
  118.             show="MTA -> connect info",flags=linear
  119. tbl    x400out88    file="ch.x400out88",
  120.             show="X.400(88) connect info -> MTA + other info",
  121.             flags=linear
  122. tbl    shell        file="ch.shell",
  123.             show="info for shell chan"
  124.             flags=dbm
  125. tbl    list        file="ch.list",
  126.             show="Lists: distribution lists",
  127.             flags=dbm
  128. tbl    uucp        file="ch.uucp"
  129.             show="UUCP: rfc822 -> uucp",
  130.             flags=dbm
  131. tbl     fax        file="ch.fax",
  132.                         show="FAX: mappings and info",
  133.                         flags=linear
  134. tbl    mslocal        file="ch.mslocal",
  135.             show="Message Store:local id -> user id,home directory",
  136.             flags=linear
  137.  
  138. chan    822-local        prog=local,
  139.     show="Local Delivery channel",type=both,
  140.     sort="user time",adr=822,adr-order=usapref,
  141.     hdrin=822,hdrout=822-us,
  142.     bptin=ia5,bptout=ia5,
  143.     content-out=822,outtable=local,access=mts,drchan=dr2rfc
  144.  
  145. chan    bugs-local        prog=local,
  146.     show="Local Delivery channel for Bug Reports",type=both,
  147.     sort="user time",adr=822,adr-order=usapref,
  148.     hdrin=822,hdrout=822-us,
  149.     bptin=ia5,bptout=ia5,
  150.     content-out=822,outtable=local,access=mts,drchan=dr2rfc
  151.  
  152. chan    xua        show="XUA Submission Channel",type=in,
  153.             access=mts,adr-order=ukpref,
  154.             adr=x400, access=mts,
  155.  
  156. chan    x400in84    prog=x400in84,show="X400 inbound",type=in,
  157.             content-in=p2,adr=x400,
  158.             adr-order=ukpref,intable=x400in84
  159.  
  160. chan    x400in88    prog=x400in88,show="X400 inbound (1988)",type=in,
  161.             content-in=p22,adr=x400,
  162.             adr-order=ukpref,intable=x400in88
  163.  
  164. chan    x400out84    prog=x400out84,show="X400 outbound",type=out,
  165.             adr=x400,adr-order=ukpref,
  166.             content-out=p2,
  167.             hdrout=p2,
  168.             bptout="ia5,g3fax,odif",
  169.             outtable=x400out84
  170.  
  171. chan    x400out88    prog=x400out88,show="X400 outbound",type=out,
  172.             adr=x400,adr-order=ukpref,
  173.             content-out=p22,
  174.             hdrout=p22,
  175.             bptout="ia5,g3fax,voice,odif,iso6937,oid.0.9.2342.60200172.99.1.4",
  176.             outtable=x400out88
  177.  
  178. chan    mslocal        prog=mslocal,show="MS local delivery",type=out,
  179.             hdrout="p22,p2,ipn",
  180.             bptout="ia5,g3fax,voice,iso6937",outtable=mslocal,
  181.             sort="user time",access=mts
  182.  
  183. chan    mslocal-beta    prog=mslocalbeta,show="MS local delivery",type=out,
  184.             hdrout="p22,p2,ipn",
  185.             bptout="ia5,g3fax,voice,iso6937,oid.0.9.2342.60200172.99.1.4",outtable=mslocal,
  186.             sort="user time",access=mts
  187.  
  188. chan    smtp        prog=smtp,show="with SMTP (PP)",type=both,
  189.             adr=822,adr-order=usapref,drchan=dr2rfc,
  190.             bptout=ia5,hdrout=822-us,content-out=822,
  191.  
  192. chan    pac-janet    prog="greyout -P",show="via JANET with NIFTP (PP)",
  193.             type=in, adr=822,adr-order=ukpref,
  194.             hdrin=822-us,
  195.             outinfo=janet
  196.  
  197. chan    gb-janet        prog="greyout -P",show="via JANET with NIFTP (PP)",
  198.             type=both, adr=822,adr-order=ukpref,
  199.             hdrout=822-jnt,
  200.             bptout=ia5,drchan=dr2rfc,
  201.             content-out=822,outinfo=janet
  202. #            mta=much.cs.nott.ac.uk,
  203.  
  204. chan    gb-pss        prog=smtp,key=ipss,
  205.             show="via PSS with NIFTP (PP)",type=both,
  206.             adr=822,adr-order=ukpref,drchan=dr2rfc,
  207.             bptout=ia5,hdrout=822-jnt,
  208.             content-out=822,mta=much.cs.nott.ac.uk
  209.  
  210. chan    fax             prog=G3Fax, show="Fax channel",type=both,
  211.                         content-in=p22, hdrout=g3fax, bptout=g3fax, 
  212.             drchan=dr2rfc,outtable=fax, sort="user time",
  213. #                       outinfo="in=/dev/ttyb,out=/dev/faxout,confirm,debug,master=gal@xtel.co.uk"
  214.                         outinfo="in=/dev/ttyb,out=/dev/faxout,confirm,softcar,debug"
  215.             ininfo="in=/dev/faxin,softcar,confirm,debug,master=gal@xtel.co.uk"
  216.  
  217. chan    faxyuch         prog=G3Fax, show="Fax channel",type=both,
  218.             content-in=p22,
  219.                         bptout="g3fax,ia5", drchan=dr2rfc, outtable=fax,
  220.                         outinfo="in=/dev/ttyb,out=/dev/ttyb,master=faxmaster"
  221.  
  222. chan    dirlist        prog=dirlist,show="Directory List channel",type=both,
  223.             drchan=dr2rfc,adr=x400,adr-order=usapref,
  224.             sort="user time", outinfo="dn=C=GB@O=X-Tel Services Ltd@CN=lancaster"
  225.  
  226. chan    list        prog=list,show="List channel",type=both,
  227.             adr-order=usapref,outinfo="linked",
  228.             outtable=list,drchan=dr2rfc,sort="user time"
  229.  
  230. chan    uucp        prog=uucp-out,key="uucp-out,rmail",
  231.             show="UUCP channel",type=both,
  232.             adr=822,adr-order=ukpref,outtable=uucp
  233.             outinfo="uux=/tmp/uux,host=nott-cs",drchan=dr2rfc
  234.  
  235. chan    dr2rfc        prog=dr2rfc,show="Dr2rfc channel",type=both,
  236.             adr=822,adr-order=ukpref,
  237.             bptin=ia5,hdrin=822,
  238.             outinfo="return=all order=uk",
  239.             content-out=822
  240.  
  241. chan    shell        prog=shell,type=out,access=mts
  242.             show="Shell channel",
  243.             outtable=shell,sort="user time",
  244.             bptout="ia5,ps",hdrout=822-uk
  245.  
  246. # QMGR special channels (load/manage/clean)
  247.  
  248. chan    qmgr-load    prog=qmgr-load,show="Loading the QMGR",
  249.             type=qmgrload,outinfo="5";
  250.  
  251. chan    msg-clean    prog=msg-clean,show="Removing finished message"
  252.             type=delete
  253.  
  254. chan    trash        prog=trash,show="Removing trash"
  255.             type=debris,outinfo=5h
  256.  
  257. chan    timeout        prog=timeout,show="Timeout messages"
  258.             type=timeout
  259.  
  260. chan    warning        prog=warnings,show="Send warning messages",
  261.             type=warn
  262. chan    splitter    prog=splitter,type=split,
  263.             show="Divide message into single"
  264. recipient messages
  265. #  **-- shaper channels --**
  266.  
  267. #   Flatteners
  268.  
  269. chan    p2flatten    prog=p2flatten,show="Structured message -> P2",
  270.             type=shaper,content-out=p2
  271.  
  272. chan    822flatten    prog=rfc934,type=shaper,content-out=822
  273.  
  274. chan    p22flatten    prog=p2flatten,show="Structured Message -> P22",
  275.             type=shaper,content-out=p22
  276.  
  277. #   Unflatteners
  278.  
  279. chan    p2explode    prog=p2explode,type=shaper,content-in=p2
  280.  
  281. chan    p22explode    prog=p2explode,type=shaper,content-in=p22
  282.  
  283.  
  284. # Header Filters
  285. chan    822tofax        prog=fcontrol,type=shaper,
  286.                         hdrin=822-us,hdrout=g3fax,
  287.                         outinfo="hdr2fax -from $(400sender) -to $(400recip) -subject $(ua-id) -table $(outtable) -outmta $(outmta)",outtable=fax,
  288.                         cost=20,solo-proc=yes
  289. chan    822touk        prog=fcontrol,type=shaper,
  290.             hdrin=822,
  291.             hdrout=822-uk,
  292.             outinfo="rfc822norm -jnt -bigend"
  293. chan    822tojnt    prog=fcontrol,type=shaper,
  294.             hdrin=822,hdrout=822-jnt,
  295.             outinfo="rfc822norm -jnt -bigend -jntsender $(822SENDER)"
  296. chan    822tous        prog=fcontrol,type=shaper,hdrin=822,
  297.             hdrout=822-us,
  298.             outinfo="rfc822norm -822 -littleend"
  299. chan    822top2        prog=RFCtoP2,type=shaper,hdrin=822-us,conv=1148
  300.             hdrout=p2,cost=10,
  301.             show="RFC1148 RFC 822 -> P2"
  302. chan    822top22    prog=RFCtoP2,type=shaper,hdrin=822-us,conv=1148
  303.             hdrout=p22,cost=10,
  304.             show="RFC1148 RFC 822 -> P22"
  305. chan    p2to822        prog=P2toRFC,type=shaper,hdrout=822,conv=1148,
  306.             hdrin="ipn,p2",cost=10,
  307.             show="RFC1148 P2 -> RFC 822"
  308. chan    p22to822    prog=P2toRFC,type=shaper,hdrout=822,conv=1148
  309.             hdrin="ipn,p22",cost=10,
  310.             show="RFC1148 P22 -> RFC 822"
  311. chan    p22top2        prog=fcontrol,type=shaper,hdrout=p2,hdrin=p22,
  312.             show="P22 to P2 downgrade",
  313.             conv=conv,cost=10,outinfo="p2norm -downgrade"
  314. #identity map
  315. chan    p2top22        prog=fcontrol,type=shaper,hdrout=p22,hdrin=p2,
  316.             show="P2 to P22 upgrade",cost=1,
  317.             outinfo="/bin/cat"
  318.  
  319. # Body part filters
  320.  
  321. chan    ia5-dk2ia5    prog=fcontrol,type=shaper,bptin=ia5-dk,
  322.             bptout=ia5,show="Danish ia5 to ia5",
  323.             conv=loss,outinfo="charset DK 38 UK 29"
  324.             
  325. chan    iso6937totxt    prog=fcontrol,type=shaper,bptin=iso6937,
  326.             bptout=ia5,conv=loss,cost=15,
  327.             outinfo="asn -inchar iso_6937-2-add -outchar irv -inasn motis-86-6937 -outasn ia5",
  328.             show="ISO6937 -> IA5"
  329.  
  330. chan    g3faxtotxt    prog=fcontrol,type=shaper,bptin=g3fax,
  331.             bptout=ia5,outinfo="removebp G3Fax",
  332.             show="Fax -> Text mapper",cost=100,conv=loss
  333. chan    txttofax        prog=fcontrol,type=shaper,bptin=ia5,
  334.                         bptout=g3fax,
  335.             outinfo="ia52fax -table $(outtable)",outtable=fax,
  336.                         show="ia5 -> g3fax mapper"
  337.  
  338. chan    faxtops        prog=fcontrol,type=shaper,bptin=g3fax,
  339.             bptout=ps,outinfo="fax2ps",show="fax -> postscript"
  340.  
  341. chan    mstops        prog=fcontrol,type=shaper,bptin=ms,
  342.             bptout=ps,outinfo="/usr/local/bin/psroff -ms -t",
  343.             show="ms macros -> postscript"
  344.  
  345. chan    mstoia5        prog=fcontrol,type=shaper,bptin=ms,
  346.             bptout=ia5,outinfo="/bin/cat",
  347.             show="MS->Text mapper",cost=100,conv=loss
  348.  
  349. chan    xxtotxt    prog=fcontrol,type=shaper,bptin=oid.0.9.2342.60200172.99.1.4,
  350.             bptout=ia5,outinfo="removebp oid.0.9.2342.60200172.99.1.4"
  351.             show="XXX -> Text mapper",cost=100,conv=loss
  352.  
  353. chan    voicetotxt    prog=fcontrol,type=shaper,bptin=voice,
  354.             bptout=ia5,outinfo="removebp Voice"
  355.             show="Voice -> Text mapper",cost=100,conv=loss
  356.  
  357. #  **-- Logging for the rest of the prog --**
  358. #
  359. authlog level=notice, size=400
  360. operlog level=notice, size=400
  361. normlog level=notice, size=400, sflags=zero
  362.  
  363. 822flatten    normlog     file=filter
  364. p2flatten    normlog     file=filter
  365. 822touk        normlog     file=filter
  366. 822tous        normlog     file=filter
  367. dr2rfc        normlog     file=filter
  368. fcontrol    normlog     file=filter
  369. odif2txt    normlog     file=filter
  370. p2explode    normlog     file=filter
  371. rfc822norm    normlog     file=filter
  372. trash        normlog     file=filter
  373.  
  374. 822top2        normlog     file=rfc987
  375. p2to822        normlog     file=rfc987
  376.  
  377. list        normlog     file=lists
  378.  
  379. qmgr        normlog     file=qmgr
  380. qmgr-load    normlog     file=qmgr
  381.  
  382. smtp        normlog     file=smtp
  383. smtpsrvr    normlog     file=smtp
  384.  
  385. greyout        normlog     file=greyout
  386. gb-janet    normlog  file=greyin
  387. submit        normlog     file=submit dflags=close
  388.  
  389. local        normlog     file=local
  390. msg-clean    normlog     file=msg-clean
  391.  
  392. x400in84    normlog     file=x400in84,level=pdus
  393. x400in84    isodelog rtsaplevel file=rts,level=all
  394. x400in84    isodelog ssaplevel file=ssap,level=all
  395. x400out84    normlog     file=x400out84
  396.  
  397. x400in88    normlog     file=x400in88 level=pdus,level=trace
  398. x400out88    normlog     file=x400out88 #level=all
  399.  
  400. p7server    normlog     file=p7server level=all
  401.  
  402. xfax        normlog     file=fax #level=debug
  403. xfaxd        normlog     file=fax #level=debug
  404. G3Fax        normlog     file=fax
  405. hdr2fax        normlog     file=fax
  406. ia52fax        normlog     file=fax
  407.  
  408. #x400out88 isodelog    rtsaplevel file=rts-out    level=all
  409. #x400out88 isodelog    acsaplevel file=acsap-out    level=all
  410. #x400out88 isodelog    psap2level file=psap2-out    level=all
  411. #x400out88 isodelog    ssaplevel file=ssap-out    level=all
  412.  
  413.  
  414. #x400in88 isodelog    rtsaplevel file=proto-in    level=all
  415. #x400in88 isodelog    acsaplevel file=proto-in    level=all
  416. #x400in88 isodelog    psap2level file=proto-in    level=all
  417.  
  418. pptsapd        normlog     file=pptsapd,        dlevel=notice
  419. dirlist        normlog    file=dirlist    
  420. mslocal        normlog file=mslocal
  421. xprobe        normlog file=probe level=trace,level=pdus level=all
  422. p7server    isode ns_enable off
  423. xua        isode ns_enable off
  424. libmsattr        isode ns_enable off
  425. #xckadr normlog level=all file=ckadr
  426.